package com.java.rabbitmq.producer.config;

import org.springframework.amqp.core.TopicExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Woo_home
 * @create 2020/5/28 21:08
 */

@Configuration
public class BlogConfig {

    @Bean
    public TopicExchange blogExchange() {
        return new TopicExchange("BlogExchange");
    }
}
